SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 44952: Error importing planned quantities

DetailsHotfixAboutRate It

When you import planned quantities into SAS® Pack Optimization, you might see one or both of the following errors in the solution mid-tier log.

2011-11-08 15:14:20,162 [http-1444-Processor2-2528] WARN  []
org.hibernate.util.JDBCExceptionReporter - SQL Error: 12899, SQLState: 72000
2011-11-08 15:14:20,162 [http-1444-Processor2-2528] ERROR []
org.hibernate.util.JDBCExceptionReporter - ORA-12899: value too large for column 
"DI_DM"."PKO_NEED_PRODUCT_GROUP"."PRODUCT_GROUP_ID" (actual: 40, maximum: 32)
Or
2011-11-08 15:14:20,162 [http-1444-Processor2-2528] WARN  []
org.hibernate.util.JDBCExceptionReporter - SQL Error: 12899, SQLState: 72000
2011-11-08 15:14:20,162 [http-1444-Processor2-2528] ERROR []
org.hibernate.util.JDBCExceptionReporter - ORA-12899: value too large for column 
"DI_DM"."PKO_NEED_LOCATION_GROUP"."LOCATION_GROUP_ID" (actual: 40, maximum: 32)

This error occurs because the PKO_NEED_PRODUCT_GROUP.PRODUCT_GROUP_ID and PKO_NEED_LOCATION_GROUP.LOCATION_GROUP_ID columns are defined to have a maximum length of 32 characters in the database and the input xml file has <locgrp id="your_long_value"> or <prodgrp id="your_long_value"> parameter that is more than 32 characters long.

The workaround for this issue is to ensure that your product group and location group ids are 32 characters or less.

Click the Hot Fix tab in this note to access the hot fix for this issue.

Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Pack OptimizationMicrosoft Windows Server 2003 Datacenter Edition2.2_M13.29.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition2.2_M13.29.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition2.2_M13.29.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 for x642.2_M13.29.2 TS2M39.3 TS1M0
Microsoft Windows Server 20082.2_M13.29.2 TS2M39.3 TS1M0
Microsoft Windows Server 2008 for x642.2_M13.29.2 TS2M39.3 TS1M0
64-bit Enabled AIX2.2_M13.29.2 TS2M39.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.